package de.sordul.md5crack.impl.optimizedMultiCore;

import de.sordul.md5crack.util.Charset;

/**
 * Contains all settings for a crack worker.
 */
public class WorkerSettings {
	
	private String md5;
	private int length;
	private MCOptimizedMD5Crack crack;
	private Charset charset;
	
	public WorkerSettings(String md5, int length, MCOptimizedMD5Crack crack, Charset charset) {
		this.md5 = md5;
		this.length = length;
		this.crack = crack;
		this.charset = charset;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public MCOptimizedMD5Crack getCrack() {
		return crack;
	}

	public void setCrack(MCOptimizedMD5Crack crack) {
		this.crack = crack;
	}

	public Charset getCharset() {
		return charset;
	}

	public void setCharset(Charset charset) {
		this.charset = charset;
	}
}
